package org.example.PrototypePattern;

/**
 * 正方形
 */
public class Square extends Shape {
 
   public Square(){
     type = "正方形";
   }
 
   @Override
   public void draw() {
      System.out.println("Inside Square::draw() method.");
   }
}